import mockAjax from "./Ajax";
import requests from './request'; 

export const listdata=()=>mockAjax.get("/listdata")

//user register
export const userSignUp=(params)=>requests({url:"/users/register",method:'post',data:params})
//user login 
export const userlogin=(params)=>requests({url:"/users/login",method:'post',data:params})
